package com.aiti.lulian.mapper.card.crm;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.crm.CrmFollowRecordDto;
import com.aiti.lulian.entity.crm.CrmFollowRecord;
import com.aiti.lulian.vo.crm.CrmFollowRecordVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CrmFollowRecordMapper extends SuperMapper<CrmFollowRecord> {

    List<CrmFollowRecordVo> selectFollowRecordList(@Param("dto") CrmFollowRecordDto dto, Page<CrmFollowRecord> page);

    List<CrmFollowRecord> selectListByCustomerId(@Param("customerId") String customerId);
}